package com.atguigu.jxc.dao;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author 花鸟の虫鱼
 * @CreateDate 21/9/7 16:29
 * @Version 1.0
 * @Description TODO
 */
@Repository
public interface ListGoodsDao {

    ServiceVO insertDamageList(DamageList damageList, String damageListGoodsStr);

    ServiceVO insertOverflowList(OverflowList overflowList, String overflowListGoodsStr);

    List<DamageList> getDamageList(@Param("sTime") String  sTime,@Param("eTime") String eTime);

//    Integer getDamageListCount();

    List<OverflowList> getoverflowList(@Param("sTime") String  sTime,@Param("eTime") String eTime);

    List<DamageListGoods> getDamageListDetail(Integer damageListId);

    List<OverflowListGoods> getOverflowListDetail(Integer overflowListId);


//    Integer getoverflowListCount();
}
